package com.day20_reflect;

/**
 * @ClassName: Stduent
 * @Author: zw
 * @Description: 出百万拳，行万里路；
 * @Create 2024/3/31-09:06
 * @Version 1.0
 */
public class Stduent {
    public String levle = "first";
    private String name;
    private int age;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }
    private void setLevle(String levle) {
        this.levle = levle;
    }

    public  Stduent() {
    }

    public Stduent( int age) {

        this.age = age;
    }
    private  Stduent(String name){
        this.name = name;
    }
    Stduent(String name, int age) {
        this.name = name;
        this.age = age;
    }

    @Override
    public String toString() {
        return "Student{" + "name:" + name+ '\'' + ",age:" + age + "levle:" + levle+ "}";
    }
}
